package com.hohai.river.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hohai.river.annotation.Calculate;
import com.pig4cloud.pig.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 岸带植被覆盖度表
 */
@Data
@TableName("andaiindex")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "岸带植被覆盖度表")
public class Andaiindex extends BaseEntity implements MyIndex {

	/**
	 * ID
	 */
	@TableId(type = IdType.ASSIGN_ID)
	@Schema(description = "ID")
	private Long id;

	/**
	 * 河流ID
	 */
	@Schema(description = "河流ID")
	private Long riverId;

	/**
	 * 河岸带植被覆盖面积
	 */
	@Calculate
	@Schema(description = "河岸带植被覆盖面积")
	private Double ap;

	/**
	 * 河岸带总面积
	 */
	@Calculate
	@Schema(description = "河岸带总面积")
	private Double ars;

	/**
	 * 文件列表
	 */
	@Schema(description = "文件列表")
	private String fileList;

	/**
	 * 填写类型：0 非专家 1专家
	 */
	@Schema(description = "填写类型：0 非专家 1专家")
	private Integer fillType;

	/**
	 * 系统评分
	 */
	@Schema(description = "系统评分")
	private Double score;

	/**
	 * 无申报数据
	 */
	@Schema(description = "无申报数据")
	private Integer noData;

	/**
	 * 自评等级
	 */
	@Schema(description = "自评等级")
	private Integer selfEvaluate;

	/**
	 * 申报说明
	 */
	@Schema(description = "申报说明")
	private String indexReport;

	/**
	 * 专家评语
	 */
	@Schema(description = "专家评语")
	private String expertReview;

	@TableField(exist = false)
	private String nickname;

}
